<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .pg-header {
            height: 60px;
            padding-left: 30px;
        }

        .s-top-left {
            position: absolute;
            left: 0;
            top: 0;
            z-index: 100;
            height: 60px;
            padding-left: 24px;
        }

        .s-top-left-text {
            float: left;
            line-height: 60px;
            margin-right: 31px;
        }

        .s-top-right {
            left: 0;
            top: 0;
            z-index: 100;
            height: 60px;
            padding-right: 24px;
            float: right;
        }

        .s-top-right-text {
            float: right;
            line-height: 60px;
            margin-right: 31px;
        }

        .body-search {
            width: 40%;
            margin: 0 auto;
        }

        .body-button {
            float: right;
            padding: 12px 94px;
            margin-right: 30%;
        }

        .body-input {
            float: left;
            padding: 12px 94px;
            margin-left: 40%;
        }

    </style>
</head>
<body style="margin: 0 auto">
<div class="pg-header">

    <div class="s-top-left">
        <div class="s-top-left-text">地图</div>
        <div class="s-top-left-text">直播</div>
        <div class="s-top-left-text">地图</div>
        <div class="s-top-left-text">视频</div>
        <div class="s-top-left-text">贴吧</div>
        <div class="s-top-left-text">学术</div>
    </div>
    <div class="s-top-right" style="float: right">
        <div class="s-top-right-text" style="float: right">郑州</div>
        <div class="s-top-right-text" style="float: right">安阳</div>
    </div>

    <div class="body-search">
        <img src="baidu.png">

    </div>
    <div>
        <form action="http://baidu.com">
            <input type="text" name="wd" class="body-input">
            <button class="body-button">搜索</button>
        </form>
    </div>

</div>
</body>
</html>